package cate.common.table.activity.heroup.sign;

import cate.common.table.ESheet;
import cate.common.table.activity.heroup.call.HeroUpCallRow;

import java.util.LinkedList;
import java.util.List;

public class HeroUpSignSheet extends ESheet<HeroUpSignRow> {
    @Override
    public String getSheetName() {
        return "签到";
    }

    public List<Integer> showExtra(int configTid) {
        List<Integer> list = new LinkedList<>();
        for (HeroUpSignRow row : getList()) {
            if (row.extraReward && row.configTid == configTid) {
                list.add(row.id);
            }
        }
        return list;
    }
}
